home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 February: Tool Chest / Apple Developer CD Series Tool Chest February 1996 (Apple Computer)(1996).iso / Tool Chest / Development Tools & Languages / Macintosh Common Lisp Related / Lisp FAQ 14Sept94 / lisp_faq.faq < prev    next >
Encoding:
Internet Message Format  |  1994-09-15  |  11.9 KB  |  [TEXT/ttxt]

  1. Subject: Frequently Asked Questions [Weekly reminder]
  2. Newsgroups: comp.lang.lisp,comp.lang.scheme,comp.lang.clos,comp.org.lisp-users
  3. Summary: Answers to Frequently Asked Questions about the Lisp FAQ
  4. Distribution: world
  5. Followup-To: poster
  6. Reply-To: ai+lisp-faq@cs.cmu.edu
  7.  
  8. Last-Modified: Tue Aug 23 14:53:42 1994 by Mark Kantrowitz
  9. Version: 1.49
  10. Maintainer: Mark Kantrowitz and Barry Margolin <ai+lisp-faq@cs.cmu.edu>
  11.  
  12. ;;; ******************************************************************
  13. ;;; Answers to Frequently Asked Questions about the Lisp/Scheme FAQs *
  14. ;;; ******************************************************************
  15. ;;; Written by Mark Kantrowitz and Barry Margolin
  16. ;;; lisp_faq.faq -- 12154 bytes
  17.  
  18. This is a reminder of the existence of the monthly FAQ postings to the
  19. newsgroups comp.lang.lisp, comp.lang.scheme, and comp.lang.clos. These
  20. FAQ postings answer Frequently Asked Questions (FAQs) about Lisp and
  21. Lisp-like programming languages.
  22.  
  23. Certain questions and topics come up frequently in the various network
  24. discussion groups devoted to and related to Lisp and Scheme.  The FAQ
  25. posting is an attempt to gather these questions and their answers into
  26. a convenient reference for Lisp and Scheme programmers.  It is posted
  27. once a month.  The hope is that this will cut down on the user time
  28. and network bandwidth used to post, read and respond to the same
  29. questions over and over, as well as providing education by answering
  30. questions some readers may not even have thought to ask.
  31.  
  32. ***************************************************************************
  33. ***** SO, PLEASE, SEARCH THE FAQ POSTING FIRST IF YOU HAVE A QUESTION *****
  34. *****                               AND                               *****
  35. *****  DON'T POST ANSWERS TO FAQs: POINT THE ASKER TO THE FAQ POSTING *****
  36. ***************************************************************************
  37.  
  38. The FAQ postings are posted to the above-mentioned newsgroups on the
  39. 13th of every month. The posts are also sent to the newsgroup
  40. news.answers where they should be available at any time (ask your local
  41. news manager). This reminder is posted every Sunday.
  42.  
  43. The latest version of this FAQ is available via anonymous FTP from CMU:
  44.  
  45.    To obtain the files from CMU, connect by anonymous FTP to 
  46.       ftp.cs.cmu.edu:/user/ai/pubs/faqs/lisp/  [128.2.206.173]
  47.    using username "anonymous" and password "name@host" (substitute your
  48.    email address) or via AFS in the Andrew File System directory
  49.       /afs/cs.cmu.edu/project/ai-repository/ai/pubs/faqs/lisp/
  50.    and get the files lisp_1.faq, lisp_2.faq, lisp_3.faq, lisp_4.faq,
  51.    lisp_5.faq, lisp_6.faq and lisp_7.faq.
  52.  
  53. You can also obtain a copy of the FAQ by sending a message to
  54. ai+query@cs.cmu.edu with 
  55.    Send Lisp FAQ
  56. in the message body.
  57.  
  58. The FAQ postings are also archived in the periodic posting archive on
  59.    rtfm.mit.edu:/pub/usenet/news.answers/lisp-faq/ [18.181.0.24]
  60.    rtfm.mit.edu:/pub/usenet/news.answers/scheme-faq/ [18.181.0.24]
  61. If you do not have anonymous ftp access, you can access the archive by
  62. mail server as well.  Send an E-mail message to
  63. mail-server@rtfm.mit.edu with "help" and "index" in the body on
  64. separate lines for more information.
  65.  
  66. Automatically generated HTML versions of the Lisp and Scheme FAQs are
  67. accessible by WWW as part of the AI-related FAQs Mosaic page. The URL
  68. for this resource is
  69.    http://www.cs.cmu.edu:8001/Web/Groups/AI/html/faqs/top.html
  70. The direct URLs for the Lisp and Scheme FAQs are
  71.    http://www.cs.cmu.edu:8001/Web/Groups/AI/html/faqs/lang/lisp/top.html
  72.    http://www.cs.cmu.edu:8001/Web/Groups/AI/html/faqs/lang/scheme/top.html
  73.  
  74.  
  75. ***********************************************************************
  76. **************************** Lisp Questions ***************************
  77. ***********************************************************************
  78.  
  79. There are currently seven parts to the Lisp FAQ:
  80.  
  81.    1. Introductory Matter and Bibliography of Introductions and References
  82.    2. General Questions
  83.    3. Common Programming Pitfalls
  84.    4. Lisp Implementations and Mailing Lists
  85.    5. Object-oriented Programming in Lisp
  86.    6. FTP Archives and Resources
  87.    7. Lisp Window Systems and GUIs
  88.  
  89. All parts are posted to comp.lang.lisp. Part 5 is cross-posted to the
  90. comp.lang.clos newsgroup.  
  91.  
  92. Topics Covered (Part 1):
  93.  
  94.   [1-0]   What is the purpose of this newsgroup?
  95.   [1-1]   What is the difference between Scheme and Common Lisp?
  96.   [1-2]   Lisp books, introductions, documentation, periodicals,
  97.           journals, and conference proceedings. 
  98.   [1-3]   How can I improve my Lisp programming style and coding efficiency?
  99.   [1-4]   Where can I learn about implementing Lisp interpreters and compilers?
  100.   [1-5]   What is the "minimal" set of primitives needed for a Lisp
  101.           interpreter? 
  102.   [1-6]   What does CLOS, PCL, X3J13, CAR, CDR, ... mean? 
  103.   [1-7]   Lisp Job Postings
  104.  
  105. Topics Covered (Part 2):
  106.  
  107.   [2-1]   Is there a GNU-Emacs interface to Lisp?
  108.   [2-2]   When should I use a hash table instead of an association list?
  109.   [2-3]   What is the equivalent of EXPLODE and IMPLODE in Common Lisp?
  110.   [2-4]   Is Lisp inherently slower than more conventional languages such as C?
  111.   [2-5]   Why does Common Lisp have "#'"?
  112.   [2-6]   How do I call non-Lisp functions from Lisp?
  113.   [2-7]   Can I call Lisp functions from other languages?
  114.   [2-8]   I want to call a function in a package that might not exist at
  115.           compile time. How do I do this?  
  116.   [2-9]   What is CDR-coding?
  117.   [2-10]  What is garbage collection?
  118.   [2-11]  How do I save an executable image of my loaded Lisp system?
  119.           How do I run a Unix command in my Lisp?
  120.   [2-12]  I'm porting some code from a Symbolics Lisp machine to some
  121.           other platform, and there are strange characters in the code.
  122.           What do they mean?  
  123.   [2-13]  History: Where did Lisp come from?
  124.   [2-14]  How do I find the argument list of a function?
  125.           How do I get the function name from a function object?
  126.   [2-15]  How can I have two Lisp processes communicate via unix sockets?
  127.   [2-16]  How can I create a stream that acts like UNIX's /dev/null
  128.           (i.e., gobbles any output and immediately signals EOF on
  129.           input operations)?
  130.   [2-17]  Read-time conditionalization of code (#+ #- and *features*)
  131.   [2-18]  What reader macro characters are used in major Lisp systems?
  132.   [2-19]  How do I determine if a file is a directory or not? 
  133.           How do I get the current directory name from within a Lisp 
  134.           program? Is there any way to create a directory?
  135.   [2-20]  What is a "Lisp Machine" (LISPM)?
  136.  
  137. Common Pitfalls (Part 3):
  138.  
  139.   [3-0]  Why does (READ-FROM-STRING "foobar" :START 3) return FOOBAR
  140.          instead of BAR?  
  141.   [3-1]  Why can't it deduce from (READ-FROM-STRING "foobar" :START 3)
  142.          that the intent is to specify the START keyword parameter
  143.          rather than the EOF-ERROR-P and EOF-VALUE optional parameters?   
  144.   [3-2]  Why can't I apply #'AND and #'OR?
  145.   [3-3]  I used a destructive function (e.g. DELETE, SORT), but it
  146.          didn't seem to work.  Why? 
  147.   [3-4]  After I NREVERSE a list, it's only one element long.  After I
  148.          SORT a list, it's missing things.  What happened? 
  149.   [3-5]  Why does (READ-LINE) return "" immediately instead of waiting
  150.          for me to type a line?  
  151.   [3-6]  I typed a form to the read-eval-print loop, but nothing happened. Why?
  152.   [3-7]  DEFMACRO doesn't seem to work.
  153.          When I compile my file, LISP warns me that my macros are undefined
  154.          functions, or complains "Attempt to call <function> which is 
  155.          defined as a macro.
  156.   [3-8]  Name conflict errors are driving me crazy! (EXPORT, packages)
  157.   [3-9]  Closures don't seem to work properly when referring to the
  158.          iteration variable in DOLIST, DOTIMES, DO and LOOP.
  159.   [3-10] What is the difference between FUNCALL and APPLY?
  160.   [3-11] Miscellaneous things to consider when debugging code.
  161.   [3-12] When is it right to use EVAL?
  162.   [3-13] Why does my program's behavior change each time I use it?
  163.   [3-14] When producing formatted output in Lisp, where should you put the
  164.          newlines (e.g., before or after the line, FRESH-LINE vs TERPRI,
  165.          ~& vs ~% in FORMAT)?
  166.   [3-15] I'm using DO to do some iteration, but it doesn't terminate. 
  167.   [3-16] My program works when interpreted but not when compiled!
  168.  
  169. Lisp Implementations and Mailing Lists (Part 4):
  170.  
  171.   [4-0]   Free Common Lisp implementations.
  172.   [4-1]   Commercial Common Lisp implementations.
  173.   [4-1a]  Lisp-to-C translators
  174.   [4-2]   Scheme Implementations
  175.   [4-4]   Free Implementations of Other Lisp Dialects
  176.   [4-5]   Commercial Implementations of Other Lisp Dialects
  177.   [4-6]   What is Dylan?
  178.   [4-7]   What is Pearl Common Lisp?
  179.   [4-9]   What Lisp-related discussion groups and mailing lists exist?
  180.   [4-10]  ANSI Common Lisp -- Where can I get a copy of the draft standard?
  181.  
  182. Object-oriented Programming in Lisp (Part 5):
  183.  
  184.   [5-0]   What is CLOS (PCL) and where can I get it?
  185.           How do you pronounce CLOS? What is the Meta-Object Protocol (MOP)?
  186.   [5-1]   What documentation is available about object-oriented
  187.           programming in Lisp?  
  188.   [5-2]   How do I write a function that can access defstruct slots by
  189.           name?  I would like to write something like 
  190.           (STRUCTURE-SLOT <object> '<slot-name>).   
  191.   [5-3]   How can I list all the CLOS instances in a class?
  192.   [5-4]   How can I store data and CLOS instances (with possibly circular
  193.           references) on disk so that they may be retrieved at some later
  194.           time? (Persistent Object Storage)
  195.   [5-5]   Given the name of a class, how can I get the names of its slots?
  196.   [5-6]   Free CLOS software.
  197.  
  198. FTP Resources (Part 6):
  199.  
  200.   [6-0] General information about FTP Resources for Lisp
  201.   [6-1] Repositories of Lisp Software
  202.   [6-3] Publicly Redistributable Lisp Software
  203.   [6-6] Formatting code in LaTeX (WEB and other literate programming tools)
  204.   [6-7] Where can I get an implementation of Prolog in Lisp?
  205.   [6-8] World-Wide Web (WWW) Resources
  206.  
  207. Lisp Window Systems and GUIs (Part 7):
  208.   [7-1] How can I use the X Window System or other GUIs from Lisp?
  209.   [7-2] What Graphers/Browsers are available?
  210.  
  211. ***********************************************************************
  212. *************************** Scheme Questions **************************
  213. ***********************************************************************
  214.  
  215. Topics Covered (Part 1):
  216.   [1-0]   What is the purpose of this newsgroup?
  217.   [1-2]   What is the difference between Scheme and Common Lisp?
  218.   [1-3]   Scheme books, introductions, documentation, periodicals,
  219.           journals, and conference proceedings. 
  220.   [1-4]   Where can I learn about implementing Scheme interpreters and 
  221.           compilers?
  222.   [1-7]   Standards for Scheme -- What are R4RS and IEEE P1178?
  223.   [1-8]   How do I do object-oriented programming in Scheme?
  224.   [1-9]   Repositories of Scheme Software
  225.   [1-10]  Publicly Redistributable Scheme Software
  226.   [1-11]  Formatting code in LaTeX (WEB and other literate programming tools)
  227.   [1-12]  Where can I get an implementation of Prolog in Scheme?
  228.   [1-13]  What does SICP, SCOOPS, R4RS, CAR, CDR, ... mean?
  229.   [1-14]  Why is there no EVAL in Scheme?
  230.   [1-15]  World-Wide Web (WWW) Resources
  231.   [1-16]  Why is Scheme called 'Scheme'?
  232.  
  233. Topics Covered (Part 2):
  234.   [2-1]   Free Scheme implementations.
  235.   [2-2]   Commercial Scheme implementations.
  236.   [2-3]   What Scheme-related discussion groups and mailing lists exist?
  237.  
  238. ----------------------------------------------------------------
  239.  
  240. If you think of questions that are appropriate for these FAQs, or would
  241. like to improve an answer, please send email to us at ai+lisp-faq@cs.cmu.edu.
  242.  
  243. Note that the lisp-faq mailing list is for discussion of the content
  244. of the FAQ postings only.  It is not the place to ask questions about
  245. Lisp; use either the common-lisp@ai.sri.com mailing list or the
  246. comp.lang.lisp newsgroup for that.  Likewise, it is not the place to
  247. ask questions about Scheme; use either the scheme@ai.mit.edu mailing
  248. list or the comp.lang.scheme newsgroup (scheme@mc.lcs.mit.edu) for
  249. that.  If a question appears frequently in one of those forums, it
  250. will get added to the appropriate FAQ list.
  251.  
  252. ;;; *EOF*
  253.